<?php
include '../connect/common_start.php';
if(isset($_REQUEST['store_id']))
{
	$store_id=$_REQUEST['store_id'];
	$result=mysql_query("SELECT * FROM store s WHERE (s.id='$store_id' AND s.status!='0')");
	if(mysql_num_rows($result)>0){
		$r = mysql_fetch_assoc($result);
		echo json_encode($r);
	}else{
		echo '[]';
	}
}
include '../connect/common_end.php';
?>
